package Ex01.Stage002;

public class Date{

    public Goods goods[] = new Goods[10];

    public void I(){
        for (int i = 0; i < goods.length; i++) {
            goods[i] = new Goods();
        }

        goods[0].goodsName = "T袖";
        goods[0].goodsPrice = 245;

        goods[1].goodsName = "网球鞋";
        goods[1].goodsPrice = 572;

        goods[2].goodsName = "网球拍";
        goods[2].goodsPrice = 320;
    }


}
